# @Time ： 2020/11/30 19:24
# @Author : mask-yu
# @File : urls.py
# @Software : PyCharm
from django.urls import re_path

from users import views

urlpatterns = [
    # 判断用户名是否重复
    re_path('^usernames/(?P<username>\w{5,20})/count/$',views.UsernameCountView.as_view()),
    re_path('^register/$', views.UserRegisterView.as_view()),
    # re_path()
]